{include file="header.html"}
<div id="rightTop">
  <p>{$lang.statics}</p>
  <ul class="subnav">
    <li>
      <span>{$lang.manage}</span>
    </li>
    <li>
      <a class="btn1" href="index.php?app=statics&amp;act=add">{$lang.add}</a>
    </li>

  </ul>
</div>
<div class="mrightTop">
  <div class="fontl">
    <form method="get">
      <div class="left">
        <input type="hidden" name="app" value="statics" />
        <input type="hidden" name="act" value="index" />
       
        {$lang.stype}:
        <select class="querySelect" name="stype">
          <option value="-1">{$lang.select_pls}</option>
          {html_options options=$options.stype selected=$query.stype}
        </select>

        <input type="submit" class="formbtn"style="cursor: pointer;" value="{$lang.query}" />
      </div>
      <!--{if $filtered}-->
      <a class="left formbtn1" href="index.php?app=statics">{$lang.cancel_query}</a>
      <!--{/if}-->
      <span></span>
    </form>
  </div>
  <div class="fontr">{if $statics_list}{include file=page.top.html}{/if}</div>
</div>
<div class="tdare">
  <table width="100%" cellspacing="0" class="dataTable">
    <!--{if $statics_list}-->
    <tr class="tatr1">
      <td width="20" class="firstCell">
        <input type="checkbox" class="checkall" />
      </td>
      <td align="left"  width="120">{$lang.store_id}</td>
      <td align="left"  width="300">{$lang.sumdate}</td>
      <td align="left"  width="100">{$lang.stype}</td>
      <td align="left"  width="100">{$lang.sales}</td>
      <td align="left"  width="100">{$lang.collects}</td>
      <td align="left"  width="100">{$lang.carts}</td>
      <td align="left"  width="100">{$lang.visits}</td>
      <td align="left"  width="100">{$lang.cancels}</td>
      <td align="left"  width="100">{$lang.comments}</td>
      <td align="left"  width="100">{$lang.goodcomments}</td>
      <td align="left"  width="100">{$lang.normalcomments}</td>
      <td align="left"  width="100">{$lang.badcomments}</td>
      <td align="left"  width="100">{$lang.refunds}</td>
      <td align="left"  width="100">{$lang.moneys}</td>
      <td class="handler">{$lang.handler}</td>
    </tr>
    <!--{/if}-->
    <!--{foreach from=$statics_list item=statics}-->
    <tr class="tatr2">
      <td class="firstCell">
        <input value="{$statics.id}" class='checkitem' type="checkbox" />
      </td>
      <td align="left">{$statics.store_name}</td>
      <td align="left">{$statics.sumdate|modifier:sumdate}</td>
      <td align="left">{$options.stype[$statics.stype]}</td>

      <td align="left">{$statics.sales}</td>
      <td align="left">{$statics.collects}</td>
      <td align="left">{$statics.carts}</td>
      <td align="left">{$statics.visits}</td>
      <td align="left">{$statics.cancels}</td>
      <td align="left">{$statics.comments}</td>
      <td align="left">{$statics.goodcomments}</td>
      <td align="left">{$statics.normalcomments}</td>
      <td align="left">{$statics.badcomments}</td>
      <td align="left">{$statics.refunds}</td>
      <td align="left">{$statics.moneys}</td>

      <td class="handler">      
        <a name="drop" href="javascript:drop_confirm('{$lang.drop_confirm}', 'index.php?app=statics&amp;act=drop&amp;id={$statics.id}');">{$lang.drop}</a>

      </td>
    </tr>
    <!--{foreachelse}-->
    <tr class="no_data">
      <td colspan="7">{$lang.no_data}</td>
    </tr>
    <!--{/foreach}--> </table>
  <!--{if $statics_list}-->
  <div id="dataFuncs">
    <div id="batchAction" class="left paddingT15">


      <input class="formbtn batchButton" type="button"style="cursor: pointer;" value="{$lang.drop}" name="id" uri="index.php?app=statics&act=drop" presubmit="confirm('{$lang.drop_confirm}');" />
      <a name="drop" href="index.php?app=statics&amp;act=export&amp;stype={$smarty.get.stype}">导出</a>

    </div>
    <div class="pageLinks">{if $statics_list}{include file=page.bottom.html}{/if}</div>
  </div>
  <!--{/if}-->
  <div class="clear"></div>
</div>
{include file="footer.html"}